﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OnlineComplaint.aspx.cs"
    Inherits="WebPubManager_OnlineComplaint" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>在线投诉管理</title>
    <link href="../css/page.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 90%; margin: 0px auto; text-align: center;">
        <table class="tab_top" width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="17">
                    <img src="../images/tab_top_left.gif" width="17" height="35" alt="" />
                </td>
                <td align="center">
                    &nbsp;
                </td>
                <td >
                    &nbsp;
                </td>
                <td width="5" align="right">
                    <img src="../images/tab_top_right.gif" width="5" height="35" alt="" />
                </td>
            </tr>
        </table>
        <table style="width: 99%; border-top-width: 0px" class="tab">
            <tr style="border-top-width: 0px">
                <td style="border-top-width: 0px">
                    <controlDefine:CustomGridView ID="gvComplaint" runat="server" AllowPaging="True"
                        Width="800px" HideTextLength="16" DivFstClass-DivButtonClass="input" AutoGenerateColumns="False"
                        DivScdClass-DivButtonClass="input" DivTrdClass-DivButtonClass="input" ShowCmpAndCancel="False"
                        AllowOnMouseOverEvent="False" ShowItemNumber="True" AutoGenerateDeleteConfirm="True"
                        CustomSortExpression="" AllowSortingAscImgCss="" AllowSortingDescImgCss="" ShowHideColModel="None"
                        OnOnLoadData="recvgrid_OnLoadData">
                        <PagerSettings Visible="False" />
                        <Columns>
                            <asp:BoundField HeaderText="投诉人" DataField="tsr" />
                            <asp:TemplateField HeaderText="被投诉案件编号">
                                <ItemTemplate>
                                    <a href='OnLineCptMessage.aspx?id=<%# Eval("id") %>'>
                                        <%# Eval("iid")%></a>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="投诉意见" DataField="tsnr" />
                            <asp:BoundField HeaderText="被投诉类型" DataField="tslx" />
                            <asp:BoundField HeaderText="被投诉部门" DataField="tsbm" />
                            <asp:BoundField HeaderText="投诉时间" DataField="tssj" />
                            <asp:TemplateField HeaderText="操作">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtnDelete" runat="server" OnClick="lbtnDelete_Click" CommandArgument='<%# Eval("id") %>'
                                        OnClientClick="return confirm('该信息的回复内容同时会被删除，将不可恢复，确实要删除吗？')">删除</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </controlDefine:CustomGridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
